3.2852 \(\int \frac {(a+b (c+d x)^2)^p}{c+d x} \, dx\)

Optimal. Leaf size=52 \[ -\frac {\left (a+b (c+d x)^2\right )^{p+1} \, _2F_1\left (1,p+1;p+2;\frac {b (c+d x)^2}{a}+1\right )}{2 a d (p+1)} \]

[Out]

-1/2*(a+b*(d*x+c)^2)^(1+p)*hypergeom([1, 1+p],[2+p],1+b*(d*x+c)^2/a)/a/d/(1+p)

________________________________________________________________________________________

Rubi [A]  time = 0.05, antiderivative size = 52, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {372, 266, 65} \[ -\frac {\left (a+b (c+d x)^2\right )^{p+1} \, _2F_1\left (1,p+1;p+2;\frac {b (c+d x)^2}{a}+1\right )}{2 a d (p+1)} \]

Antiderivative was successfully verified.

[In]

Int[(a + b*(c + d*x)^2)^p/(c + d*x),x]

[Out]

-((a + b*(c + d*x)^2)^(1 + p)*Hypergeometric2F1[1, 1 + p, 2 + p, 1 + (b*(c + d*x)^2)/a])/(2*a*d*(1 + p))

Rule 65

Int[((b_.)*(x_))^(m_)*((c_) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((c + d*x)^(n + 1)*Hypergeometric2F1[-m, n +
 1, n + 2, 1 + (d*x)/c])/(d*(n + 1)*(-(d/(b*c)))^m), x] /; FreeQ[{b, c, d, m, n}, x] &&  !IntegerQ[n] && (Inte
gerQ[m] || GtQ[-(d/(b*c)), 0])

Rule 266

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rule 372

Int[(u_)^(m_.)*((a_) + (b_.)*(v_)^(n_))^(p_.), x_Symbol] :> Dist[u^m/(Coefficient[v, x, 1]*v^m), Subst[Int[x^m
*(a + b*x^n)^p, x], x, v], x] /; FreeQ[{a, b, m, n, p}, x] && LinearPairQ[u, v, x]

Rubi steps

\begin {align*} \int \frac {\left (a+b (c+d x)^2\right )^p}{c+d x} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {\left (a+b x^2\right )^p}{x} \, dx,x,c+d x\right )}{d}\\ &=\frac {\operatorname {Subst}\left (\int \frac {(a+b x)^p}{x} \, dx,x,(c+d x)^2\right )}{2 d}\\ &=-\frac {\left (a+b (c+d x)^2\right )^{1+p} \, _2F_1\left (1,1+p;2+p;1+\frac {b (c+d x)^2}{a}\right )}{2 a d (1+p)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.04, size = 52, normalized size = 1.00 \[ -\frac {\left (a+b (c+d x)^2\right )^{p+1} \, _2F_1\left (1,p+1;p+2;\frac {b (c+d x)^2}{a}+1\right )}{2 a d (p+1)} \]

Antiderivative was successfully verified.

[In]

Integrate[(a + b*(c + d*x)^2)^p/(c + d*x),x]

[Out]

-1/2*((a + b*(c + d*x)^2)^(1 + p)*Hypergeometric2F1[1, 1 + p, 2 + p, 1 + (b*(c + d*x)^2)/a])/(a*d*(1 + p))

________________________________________________________________________________________

fricas [F]  time = 0.78, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {{\left (b d^{2} x^{2} + 2 \, b c d x + b c^{2} + a\right )}^{p}}{d x + c}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*(d*x+c)^2)^p/(d*x+c),x, algorithm="fricas")

[Out]

integral((b*d^2*x^2 + 2*b*c*d*x + b*c^2 + a)^p/(d*x + c), x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left ({\left (d x + c\right )}^{2} b + a\right )}^{p}}{d x + c}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*(d*x+c)^2)^p/(d*x+c),x, algorithm="giac")

[Out]

integrate(((d*x + c)^2*b + a)^p/(d*x + c), x)

________________________________________________________________________________________

maple [F]  time = 0.27, size = 0, normalized size = 0.00 \[ \int \frac {\left (a +\left (d x +c \right )^{2} b \right )^{p}}{d x +c}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+(d*x+c)^2*b)^p/(d*x+c),x)

[Out]

int((a+(d*x+c)^2*b)^p/(d*x+c),x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left ({\left (d x + c\right )}^{2} b + a\right )}^{p}}{d x + c}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*(d*x+c)^2)^p/(d*x+c),x, algorithm="maxima")

[Out]

integrate(((d*x + c)^2*b + a)^p/(d*x + c), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {{\left (a+b\,{\left (c+d\,x\right )}^2\right )}^p}{c+d\,x} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*(c + d*x)^2)^p/(c + d*x),x)

[Out]

int((a + b*(c + d*x)^2)^p/(c + d*x), x)

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*(d*x+c)**2)**p/(d*x+c),x)

[Out]

Timed out

________________________________________________________________________________________